// new module script
function oObject_Interact(Object *o, InventoryItem *i, String pickUpMessage, int walkToX, int walkToY)
{
	if(walkToX < 0)
		walkToX = o.X;
	if(walkToY < 0)
		walkToY = o.Y;
		
	player.Move(walkToX, walkToY, eBlock, eWalkableAreas);
	player.AddInventory(i);

	o.Visible = false;
	player.Think(pickUpMessage);
}
